/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package database;

/**
 *
 * @author daz
 */
public class UserInfo {

    private String userName;
    private String userPassword;
    private long userId;
    private int isPlay;
    private int gender;
    private int money;
    private int level;
    private int numberWin;
    private int numberLose;
    private int avatarId;
    private String status;
    private int isActivated;
    private String phoneNumber;

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public UserInfo() {
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public void setNumberWin(int number) {
        numberWin = number;
    }

    public void setNumbeLose(int number) {
        numberLose = number;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getNumberWin() {
        return this.numberWin;
    }

    public int getNumberLose() {
        return this.numberLose;
    }

    public String getStatus() {
        return this.status;
    }

    public int getLevel() {
        return this.level;
    }

    public int getMoney() {
        return this.money;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getGender() {
        return this.gender;
    }

    public void setUserName(String name) {
        this.userName = name;
    }

    public void setUserPassword(String pass) {
        this.userPassword = pass;
    }

    public void setUserId(String id) {
        this.userId = Long.parseLong(id);
    }

    public void setIsplay(String isPlay) {
        this.isPlay = Integer.parseInt(isPlay);
    }

    public int getUserIsplay() {
        return this.isPlay;
    }

    public long getUserId() {
        return userId;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public String getUserName() {
        return userName;
    }

    public void setAvatarId(int id) {
        this.avatarId = id;
    }

    public int getAvatarId() {
        return avatarId;
    }

    public void setActivated(int isActivated) {
//        Debug.d("set active :" + isActivated);
        this.isActivated = isActivated;
    }

    public int getActivated() {
//        Debug.d("get active :" + isActivated);
        return this.isActivated;
    }
}
